//mixin.js文件
import tim from '@/utils/tim.js'
export default {
    data(){
        return {
            name: 'mixin'
        }
    },
    created: function(){
        // this.hello()
    },
    methods: {
        hello: () =>{
            console.log('hello from mixin!');
        },
				logoutLiving(group_id){
					tim.quitGroup(group_id).then(res=>{
						 console.log(res.data.groupID,'退出直播间'); // 退出成功的群 ID
					}).catch((imError)=>{
						console.warn('quitGroup error:', imError); // 退出群组失败的相关信息
					});
				}
    }
}

